/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package core.messages.client.inGame;
import core.messages.Msg_One;
import cstAndEnum.JUDGE_TYPE;

/**
 * 客户端发送，表示需要判定的Msg
 * @author Invince
 */
public class Msg_Judge_Require extends Msg_One{
/*----------Attributs-------------------*/
    /**
     * 判定的类型,这里是为了加快效率
     */
    protected JUDGE_TYPE judgeType;
    /**
     * 判定牌的id，之后到DataBase里做查询
     */
    protected int idCard;

/*----------Public functions------------*/
/*----------Private functions-----------*/
/*----------Constructor-----------------*/
    public Msg_Judge_Require(String sender, String receiver,JUDGE_TYPE judgeType,int idCard) {
        super(sender, receiver);
        this.idCard=idCard;
        this.judgeType=judgeType;
    }

/*----------Gets and sets---------------*/
    public int getIdCard() {
        return idCard;
    }

    public void setIdCard(int idCard) {
        this.idCard = idCard;
    }

    public JUDGE_TYPE getJudgeType() {
        return judgeType;
    }

    public void setJudgeType(JUDGE_TYPE judgeType) {
        this.judgeType = judgeType;
    }

}
